let compMedia = {
	label: '媒体',
	icon: 'icon-img',
	children: [
		// {
		//     label: "卡片",
		//     option: {
		//         title: "卡片",
		//         name: "卡片",
		//         icon: "icon-img",
		//         img: "/img/assets/img.png",
		//         top: 0,
		//         left: 0,
		//         dataType: 0,
		//         data: {
		//             value: "/img/img-default.png"
		//         },
		//         dataFormatter: "",
		//         stylesFormatter: "",
		//         component: {
		//             width: 180,
		//             height: 120,
		//             name: "card",
		//             prop: "img"
		//         },
		//         option: {
		//             duration: "1000"
		//         }
		//     }
		// },
		{
			label: '图片',
			option: {
				title: '图片',
				name: '图片',
				icon: 'icon-img',
				img: '/img/assets/img.png',
				top: 0,
				left: 0,
				dataType: 0,
				data: {
					value: '/img/img-default.png'
				},
				dataMapConfig: [],
				dataFormatter: '',
				stylesFormatter: '',
				component: {
					width: 180,
					height: 120,
					name: 'img',
					prop: 'img'
				},
				option: {
					duration: '1000',
					imgDisplayMode: 'fill',
					defaultImgValue: ''
				}
			}
		},
		{
			label: '轮播图',
			option: {
				title: '轮播图',
				name: '轮播图',
				icon: 'icon-text',
				img: '/img/assets/carousel.jpg',
				dataType: 0,
				dataFormatter: '',
				stylesFormatter: '',
				child: {
					index: [],
					paramName: ''
				},
				data: {
					carouselList: [
						{
							type: 'img',
							value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
						},
						{
							type: 'img',
							value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
						},
						{
							type: 'img',
							value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
						},
						{
							type: 'img',
							value: 'https://t7.baidu.com/it/u=3049474096,4201820682&fm=193&f=GIF'
						}
					]
				},
				dataMapConfig: [],
				component: {
					width: 700,
					height: 250,
					name: 'carousel',
					prop: 'carousel'
				},
				option: {
					direction: 'horizontal',
					autoplay: true,
					trigger: 'hover',
					loop: true,
					indicatorPosition: '',
					interval: 3,
					type: false,
					autoplay: true
				},
				eventNames: ['轮播图切换时触发'],
				// 事件配置
				eventConfig: []
			}
		},
		// {
		//     label: "图片框",
		//     option: {
		//         title: "图片框",
		//         name: "图片框",
		//         icon: "icon-img",
		//         img: "/img/assets/imgborder.png",
		//         top: 0,
		//         left: 0,
		//         dataType: 0,
		//         data: "/img/border/border1.png",
		//         component: {
		//             width: 140,
		//             height: 140,
		//             name: "imgborder",
		//             prop: "imgborder"
		//         },
		//         option: {
		//             backgroundColor: "rgba(180, 181, 198, 0.1)"
		//         }
		//     }
		// },
		// {
		//     label: "轮播图",
		//     option: {
		//         title: "轮播图",
		//         name: "轮播图",
		//         icon: "icon-banner",
		//         img: "/img/assets/swiper.png",
		//         top: 0,
		//         left: 0,
		//         dataType: 0,
		//         dataMethod: "get",
		//         time: 0,
		//         url: "/swiper",
		//         data: [
		//             {
		//                 value: "https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg"
		//             },
		//             {
		//                 value: "https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg"
		//             },
		//             {
		//                 value: "http://www.w3school.com.cn/i/movie.ogg"
		//             }
		//         ],
		//         dataFormatter: "",
		//         stylesFormatter: "",
		//         component: {
		//             width: 670,
		//             height: 370,
		//             name: "swiper",
		//             prop: "swiper"
		//         },
		//         option: {
		//             type: "",
		//             interval: 5000,
		//             opacity: 100,
		//             indicator: "none",
		//             autoplay: true,
		//             controls: true,
		//             loop: true
		//         }
		//     }
		// },
		{
			label: '容器',
			option: {
				title: '容器',
				name: '容器',
				icon: 'icon-iframe',
				img: '/img/assets/iframe.png',
				top: 0,
				left: 0,
				component: {
					width: 670,
					height: 370,
					option: {},
					name: 'iframe',
					prop: 'iframe'
				},
				dataType: 0,
				dataMapConfig: [],
				data: {
					value: ''
				},
				dataFormatter: '',
				stylesFormatter: '',
				option: {
					containerType: '1',
					canvasId: ''
				}
			}
		},
		{
			label: 'video播放器',
			option: {
				title: 'video',
				name: 'video',
				icon: 'icon-video',
				img: '/img/assets/video.png',
				top: 0,
				left: 0,
				dataType: 0,
				dataMapConfig: [],
				data: {
					value: 'http://www.w3school.com.cn/i/movie.ogg'
				},
				option: {
					autoplay: true,
					controls: true,
					loop: true
				},
				dataFormatter: '',
				stylesFormatter: '',
				component: {
					width: 670,
					height: 370,
					option: {},
					name: 'video',
					prop: 'video'
				}
			}
		},
		{
			label: 'hls播放器',
			option: {
				title: 'hls',
				name: 'hls',
				icon: 'icon-video',
				img: '/img/assets/video.png',
				top: 0,
				left: 0,
				dataType: 0,
				dataMapConfig: [],
				data: {
					value:
						'https://open.ys7.com/v3/openlive/E10668433_1_1.m3u8?expire=1664027961&id=363444666731335680&t=346b970f0d5cb5d5b5e4734d966275a61fb9efd5038c7a75b7435423c5716908&ev=100'
				},
				option: {
					autoplay: true
				},
				dataFormatter: '',
				stylesFormatter: '',
				component: {
					width: 670,
					height: 370,
					option: {},
					name: 'clapper',
					prop: 'clapper'
				}
			}
		},
		{
			label: '语音合成器',
			option: {
				title: '语音合成器',
				name: '语音合成器',
				icon: 'icon-img',
				img: '/img/assets/voiceSynthesizer.jpg',
				top: 0,
				left: 0,
				dataType: 0,
				data: {
					value: '赛瀚德数据可视化平台1.0.4'
				},
				dataMapConfig: [],
				dataFormatter: '',
				stylesFormatter: '',
				component: {
					width: 100,
					height: 100,
					name: 'voiceSynthesizer',
					prop: 'voiceSynthesizer'
				},
				option: {
					rate: 1,
					volume: 1,
					playCount: 1
				}
			}
		},
		{
			label: '毛玻璃',
			option: {
				title: '毛玻璃',
				name: '毛玻璃',
				icon: 'icon-img',
				img: '/img/assets/voiceSynthesizer.jpg',
				top: 0,
				left: 0,
				dataType: 0,
				data: {},
				dataMapConfig: [],
				dataFormatter: '',
				stylesFormatter: '',
				component: {
					width: 300,
					height: 100,
					name: 'groundGlass',
					prop: 'groundGlass'
				},
				option: {
					color: 'rgba(255, 255, 255, 0.25)',
					blur: 10,
					borderRadius: 0
				}
			}
		},
		{
			label: '接数组件',
			option: {
				title: '接数组件',
				name: '接数组件',
				icon: 'icon-text',
				img: '/img/assets/button.jpg',
				dataType: 0,
				dataFormatter: '',
				stylesFormatter: '',
				child: {
					index: [],
					paramName: ''
				},
				data: {},
				dataMapConfig: [],
				component: {
					width: 150,
					height: 40,
					name: 'receiveDataComp',
					prop: 'receiveDataComp'
				},
				option: {},
				eventNames: [],
				// 事件配置
				eventConfig: []
			}
		}
	]
};
